package com.zendesk.maxwell.registry;

import java.net.InetSocketAddress;

/**
 * @Auther: miaoguoxin
 * @Date: 2021/12/10 17:32
 * @Description:
 */
public interface IRegistryService {

	/**
	 * Register.
	 * @param address the address
	 * @throws Exception the exception
	 */
	void register(InetSocketAddress address) throws Exception;

	/**
	 * Unregister.
	 * @param address the address
	 * @throws Exception the exception
	 */
	void unregister(InetSocketAddress address) throws Exception;
}
